#define _CRT_SECURE_NO_WARNINGS
#include"Stack.h"
#include"Queue.h"
int main()
{
	//ST s;
	//StackInit(&s);
	//StackPush(&s, 1);
	//StackPush(&s, 2);
	//StackPush(&s, 3);
	//StackPush(&s, 4);
	//while (!StackEmpty(&s))
	//{
	//	printf("%d ",StackTop(&s));
	//	StackPop(&s);
	//}
	//StackDestroy(&s);
	Queue st;
	QueueInit(&st);
	QueuePush(&st, 1);
	QueuePush(&st, 2);
	QueuePush(&st, 3);
	QueuePush(&st, 4);
	while (!QueueEmpty(&st))
	{
		printf("%d ",QueueFront(&st));
		QueuePop(&st);
	}
	QueueDestroy(&st);
	return 0;
}
